package com.way.adapter.v4;

import com.way.adapter.v3.ResultMsg;

/**
 * @author 魏彪
 */
public class LoginForQQAdapter extends AbstractAdapter {
    @Override
    public boolean support(Object object) {
        return object instanceof LoginForQQAdapter;
    }

    @Override
    public ResultMsg login(String id, Object adapter) {
        if (!support(adapter)) {
            return null;
        }
        return login(id, null);
    }
}
